import numpy as np
from sklearn import metrics

def printNMI(label, result):
    label = np.loadtxt(label)
    result = np.loadtxt(result)
    nmi = metrics.adjusted_mutual_info_score(label, result)
    print(nmi)
    return nmi